﻿Public Class Register
    Inherits System.Web.UI.Page
    Dim register_DocGia As New DocGia_BLL()
    Dim p As New DocGia_DTO()
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub


   
    Protected Sub Register_Click(ByVal sender As Object, ByVal e As EventArgs)
        'Try
        p._taikhoan = txt_taikhoan.Text
        p._matkhau = txt_rematkhau.Text
        p._hoten = txt_hoten.Text
        p._sodienthoai = Integer.Parse(txt_sodienthoai.Text)
        p._diachi = txt_diachi.Text
        p._hinh = ""
        p._ghichu = ""
        p._ngaydk = Now.Date.ToString()
        register_DocGia.DocGia_DK(p)
        Response.Redirect("RegisterSuccess.aspx")
        'Catch

        'End Try


    End Sub
End Class